#!/bin/sh
#desc:Stops the mpg123 player
#package:odbgmusic
#type:local

CONFILE=/etc/opendomo/music.conf
. $CONFILE

# If bgmusic is runing we stop it

if test -e $PID; then
	/etc/init.d/bgmusic stop
fi

# Always return to bgmusic web controler

/usr/local/opendomo/bgmusicControl.sh

